// 引入mock
import Mock from "mockjs";
// 引入json文件（webpack是默认暴露json文件的，所以json文件里不用写export）
import banner from "./banner.json"
import floor from "./floor.json"
// 模拟接口
Mock.mock("/mock/banner",{code:200,data:banner})
Mock.mock("/mock/floor",{code:200,data:floor})